package net.scrumtool.view;

import net.scrumtool.technics.Utils;

import org.eclipse.jface.viewers.ComboViewer;
import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Group;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.ProgressBar;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.TabFolder;
import org.eclipse.swt.widgets.TabItem;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.ToolBar;
import org.eclipse.swt.widgets.ToolItem;
import org.eclipse.wb.swt.SWTResourceManager;

public class OverviewSprint {
	private static class ContentProvider implements IStructuredContentProvider {
		public Object[] getElements(Object inputElement) {
			return new Object[0];
		}

		public void dispose() {
		}

		public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
		}
	}

	protected Shell shell;
	private SashForm sashForm;
	private Label lblInfoUser;
	private TabFolder tabFolderOverviewSprint;
	private Composite compositeGrpOverviewSprint;
	private Group grpOverviewSprint;
	private TabItem tabOverviewCalendar;
	private TabItem tabOverviewSprint;
	private SashForm sashForm_1;
	private Composite composite;
	private Composite composite_1;
	private Label lblPoints;
	private Label lblStart;
	private Label lblEnd;
	private Label lblProduct;
	private Label lblPointsData;
	private Label lblStartData;
	private Label lblEndData;
	private Label lblProductData;
	private Table tableUserStories;
	private TableViewer tableViewerUserStories;
	private TableColumn tblclmnSprintName;
	private TableViewerColumn tableViewerColumn;
	private Label lblNameData;
	private ProgressBar pbSprint;
	private Label lblProgressBar;
	private Label BackToHome;
	private Label linkProfile;
	private Label linkSignout;
	private Composite composite_logout;
	private Composite composite_profile;
	private TableColumn tblclmnSprintPoints;
	private TableViewerColumn tableViewerColumn_1;
	private TableColumn tblclmnSprintStatut;
	private TableViewerColumn tableViewerColumn_2;
	private ToolBar tBOverviewSprint;
	private ToolItem tltmAddUserStorySprint;
	private ToolItem tltmRemoveUserStorySprint;
	private ToolItem tltmEditUserStorySprint;
	private TabItem tabBacklogSprint;
	private Composite compositeGrpBacklogSprint;
	private Table tableBacklogUserStories;
	private TableViewer tableViewerBacklogUserStories;
	private TableColumn tblclmnStatut;
	private TableViewerColumn tableViewerColumn_3;
	private TableColumn tblclmnName;
	private TableViewerColumn tableViewerColumn_4;
	private TableColumn tblclmnPoints;
	private TableViewerColumn tableViewerColumn_5;
	private Group grpBacklogUserStories;
	private Label lblDescription;
	private Label lblPointsAwarded;
	private Label lblPriority;
	private Button butValiderUS;
	private Text txtNameUS;
	private Text txtPointsUS;
	private Text txtDescrUS;
	private Combo cbPriorityUS;
	private Combo cbStatusUS;
	private ComboViewer cbViewerStatusUS;
	private ToolItem tltmAddBacklogUS;
	private ToolItem tltmEditBacklogUS;
	private ToolItem tltmRemoveBacklogUS;

	/**
	 * Open the window.
	 */
	public void open() {
		Display display = Display.getDefault();
		shell.open();
		shell.layout();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}

	public void close() {
		shell.dispose();
	}

	/**
	 * @wbp.parser.entryPoint
	 */
	public void init() {
		createContents();
	}

	/**
	 * Create contents of the window.
	 */
	protected void createContents() {
		shell = new Shell(SWT.CLOSE);
		shell.setSize(852, 636);
		shell.setText("SCRUMTOOL - Developed by TEAMSIO - version beta");
		shell.setLayout(new FormLayout());
		shell.setImage(Utils.getImage(Utils.IMG_ICON));

		// Composite titre
		Composite compositePrincipalOverviewSprint = new Composite(shell, SWT.NONE);
		compositePrincipalOverviewSprint.setLayout(new FormLayout());
		FormData fd_compositePrincipalOverviewSprint = new FormData();
		fd_compositePrincipalOverviewSprint.bottom = new FormAttachment(0, 98);
		fd_compositePrincipalOverviewSprint.top = new FormAttachment(0);
		fd_compositePrincipalOverviewSprint.left = new FormAttachment(0);
		fd_compositePrincipalOverviewSprint.right = new FormAttachment(100);
		compositePrincipalOverviewSprint.setLayoutData(fd_compositePrincipalOverviewSprint);
		compositePrincipalOverviewSprint.setBackground(Utils.COLOR_BAR_1);
		Composite compositeNom = new Composite(compositePrincipalOverviewSprint, SWT.NONE);

		// Composite Du nom du titre
		FormData fd_compositeNom = new FormData();
		fd_compositeNom.top = new FormAttachment(0, 10);
		fd_compositeNom.bottom = new FormAttachment(0, 89);
		fd_compositeNom.right = new FormAttachment(0, 358);
		fd_compositeNom.left = new FormAttachment(0, 10);
		compositeNom.setLayoutData(fd_compositeNom);
		compositeNom.setBackgroundImage(Utils.getImage(Utils.IMG_LOGO));

		lblInfoUser = new Label(compositePrincipalOverviewSprint, SWT.NONE);
		lblInfoUser.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblInfoUser.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_lblInfoUser = new FormData();
		fd_lblInfoUser.left = new FormAttachment(compositeNom, 272);
		fd_lblInfoUser.right = new FormAttachment(100, -10);
		lblInfoUser.setBackground(Utils.COLOR_BAR_1);
		lblInfoUser.setLayoutData(fd_lblInfoUser);

		tabFolderOverviewSprint = new TabFolder(shell, SWT.NONE);
		tabFolderOverviewSprint.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_tabFolderOverviewSprint = new FormData();
		fd_tabFolderOverviewSprint.bottom = new FormAttachment(100, -10);
		fd_tabFolderOverviewSprint.top = new FormAttachment(compositePrincipalOverviewSprint, 6);

		BackToHome = new Label(compositePrincipalOverviewSprint, SWT.NONE);
		BackToHome.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		BackToHome.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_BackToHome = new FormData();
		fd_BackToHome.bottom = new FormAttachment(compositeNom, 0, SWT.BOTTOM);
		fd_BackToHome.left = new FormAttachment(compositeNom, 6);
		BackToHome.setLayoutData(fd_BackToHome);
		BackToHome.setText("Back to Home");
		BackToHome.setBackground(Utils.COLOR_BAR_2);

		linkProfile = new Label(compositePrincipalOverviewSprint, SWT.NONE);
		fd_lblInfoUser.bottom = new FormAttachment(linkProfile, -6);
		linkProfile.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		linkProfile.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		FormData fd_linkProfile = new FormData();
		linkProfile.setLayoutData(fd_linkProfile);
		linkProfile.setText("Profile");
		linkProfile.setBackground(Utils.COLOR_BAR_1);

		linkSignout = new Label(compositePrincipalOverviewSprint, SWT.NONE);
		fd_linkProfile.bottom = new FormAttachment(linkSignout, -6);
		linkSignout.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		linkSignout.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		FormData fd_linkSignout = new FormData();
		fd_linkSignout.bottom = new FormAttachment(compositeNom, 0, SWT.BOTTOM);
		fd_linkSignout.right = new FormAttachment(linkProfile, 0, SWT.RIGHT);
		linkSignout.setLayoutData(fd_linkSignout);
		linkSignout.setText("Sign out");
		linkSignout.setBackground(Utils.COLOR_BAR_1);

		composite_logout = new Composite(compositePrincipalOverviewSprint, SWT.NONE);
		composite_logout.setBackground(SWTResourceManager.getColor(29, 126, 168));
		FormData fd_composite_logout = new FormData();
		fd_composite_logout.top = new FormAttachment(compositeNom, -17);
		fd_composite_logout.left = new FormAttachment(100, -32);
		fd_composite_logout.bottom = new FormAttachment(compositeNom, 0, SWT.BOTTOM);
		fd_composite_logout.right = new FormAttachment(100, -10);
		composite_logout.setLayoutData(fd_composite_logout);
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_LOGOUT), composite_logout);
		composite_logout.setBackground(Utils.COLOR_BAR_1);

		composite_profile = new Composite(compositePrincipalOverviewSprint, SWT.NONE);
		fd_linkProfile.right = new FormAttachment(composite_profile, -9);
		composite_profile.setBackground(SWTResourceManager.getColor(29, 126, 168));
		FormData fd_composite_profile = new FormData();
		fd_composite_profile.left = new FormAttachment(0, 814);
		fd_composite_profile.right = new FormAttachment(100, -10);
		fd_composite_profile.top = new FormAttachment(linkProfile, -17);
		fd_composite_profile.bottom = new FormAttachment(linkProfile, 0, SWT.BOTTOM);
		composite_profile.setLayoutData(fd_composite_profile);
		Utils.addTransparentImage(Utils.getImage(Utils.IMG_PROFILE), composite_profile);
		composite_profile.setBackground(Utils.COLOR_BAR_1);
		fd_tabFolderOverviewSprint.left = new FormAttachment(0, 10);
		fd_tabFolderOverviewSprint.right = new FormAttachment(0, 836);
		tabFolderOverviewSprint.setLayoutData(fd_tabFolderOverviewSprint);

		// Creation des items du tabFolder
		tabOverviewSprint = new TabItem(tabFolderOverviewSprint, SWT.NULL);
		tabOverviewSprint.setText("Summary");
		tabOverviewSprint.setImage(Utils.getImage(Utils.IMG_DASHBOARD));

		compositeGrpOverviewSprint = new Composite(tabFolderOverviewSprint, SWT.NONE);
		tabOverviewSprint.setControl(compositeGrpOverviewSprint);
		compositeGrpOverviewSprint.setLayout(new FillLayout(SWT.HORIZONTAL));

		// Groupbox Overview
		grpOverviewSprint = new Group(compositeGrpOverviewSprint, SWT.NONE);
		grpOverviewSprint.setFont(SWTResourceManager.getFont("Arial", 18, SWT.NORMAL));
		grpOverviewSprint.setText("Summary - Sprint");
		grpOverviewSprint.setLayout(new FormLayout());

		sashForm_1 = new SashForm(grpOverviewSprint, SWT.NONE);
		FormData fd_sashForm_1 = new FormData();
		fd_sashForm_1.top = new FormAttachment(100, -388);
		fd_sashForm_1.left = new FormAttachment(0, 10);
		fd_sashForm_1.bottom = new FormAttachment(100, -10);
		fd_sashForm_1.right = new FormAttachment(100, -10);
		sashForm_1.setLayoutData(fd_sashForm_1);

		composite = new Composite(sashForm_1, SWT.NONE);
		composite.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));
		GridLayout gl_composite = new GridLayout(2, true);
		gl_composite.marginTop = 50;
		gl_composite.verticalSpacing = 15;
		gl_composite.horizontalSpacing = 15;
		gl_composite.marginLeft = 50;
		composite.setLayout(gl_composite);

		Label lblName = new Label(composite, SWT.NONE);
		lblName.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));
		lblName.setText("Name :");

		lblNameData = new Label(composite, SWT.NONE);
		lblNameData.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));

		lblProduct = new Label(composite, SWT.NONE);
		lblProduct.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));
		lblProduct.setText("Product :");

		lblProductData = new Label(composite, SWT.NONE);
		lblProductData.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));

		lblPoints = new Label(composite, SWT.NONE);
		lblPoints.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));
		lblPoints.setText("Points :");

		lblPointsData = new Label(composite, SWT.NONE);
		lblPointsData.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));

		lblStart = new Label(composite, SWT.NONE);
		lblStart.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));
		lblStart.setText("Start :");

		lblStartData = new Label(composite, SWT.NONE);
		lblStartData.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));

		lblEnd = new Label(composite, SWT.HORIZONTAL | SWT.RIGHT);
		lblEnd.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));
		lblEnd.setText("End :");

		lblEndData = new Label(composite, SWT.NONE);
		lblEndData.setFont(SWTResourceManager.getFont("Arial", 14, SWT.NORMAL));

		composite_1 = new Composite(sashForm_1, SWT.NONE);
		composite_1.setLayout(new FormLayout());

		tableViewerUserStories = new TableViewer(composite_1, SWT.BORDER | SWT.FULL_SELECTION);
		tableUserStories = tableViewerUserStories.getTable();
		tableUserStories.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		tableUserStories.setLinesVisible(true);
		tableUserStories.setHeaderVisible(true);
		FormData fd_tableUserStories = new FormData();
		fd_tableUserStories.top = new FormAttachment(0);
		fd_tableUserStories.left = new FormAttachment(0);
		fd_tableUserStories.bottom = new FormAttachment(0, 311);
		fd_tableUserStories.right = new FormAttachment(0, 395);
		tableUserStories.setLayoutData(fd_tableUserStories);

		tableViewerColumn_2 = new TableViewerColumn(tableViewerUserStories, SWT.NONE);
		tblclmnSprintStatut = tableViewerColumn_2.getColumn();
		tblclmnSprintStatut.setWidth(100);
		tblclmnSprintStatut.setText("Statut");

		tableViewerColumn = new TableViewerColumn(tableViewerUserStories, SWT.NONE);
		tblclmnSprintName = tableViewerColumn.getColumn();
		tblclmnSprintName.setWidth(186);
		tblclmnSprintName.setText("Users Stories");

		pbSprint = new ProgressBar(composite_1, SWT.NONE);
		FormData fd_pbSprint = new FormData();
		fd_pbSprint.left = new FormAttachment(tableUserStories, 0, SWT.LEFT);
		fd_pbSprint.bottom = new FormAttachment(100, -10);
		fd_pbSprint.right = new FormAttachment(100);
		pbSprint.setLayoutData(fd_pbSprint);
		pbSprint.setMaximum(100);
		pbSprint.setMinimum(0);

		lblProgressBar = new Label(composite_1, SWT.CENTER);
		fd_pbSprint.top = new FormAttachment(lblProgressBar, 6);
		lblProgressBar.setFont(SWTResourceManager.getFont("Arial", 12, SWT.NORMAL));
		FormData fd_lblProgressBar = new FormData();
		fd_lblProgressBar.bottom = new FormAttachment(100, -42);
		fd_lblProgressBar.left = new FormAttachment(tableUserStories, 10, SWT.LEFT);

		tableViewerColumn_1 = new TableViewerColumn(tableViewerUserStories, SWT.NONE);
		tblclmnSprintPoints = tableViewerColumn_1.getColumn();
		tblclmnSprintPoints.setWidth(100);
		tblclmnSprintPoints.setText("Points");
		fd_lblProgressBar.right = new FormAttachment(100);
		lblProgressBar.setLayoutData(fd_lblProgressBar);
		lblProgressBar.setText("0%");
		tableViewerUserStories.setContentProvider(new ContentProvider());
		sashForm_1.setWeights(new int[] { 1, 1 });

		tBOverviewSprint = new ToolBar(grpOverviewSprint, SWT.FLAT | SWT.RIGHT);
		FormData fd_tBOverviewSprint = new FormData();
		fd_tBOverviewSprint.bottom = new FormAttachment(sashForm_1, -6);
		fd_tBOverviewSprint.right = new FormAttachment(sashForm_1, 0, SWT.RIGHT);
		fd_tBOverviewSprint.left = new FormAttachment(0, 405);
		tBOverviewSprint.setLayoutData(fd_tBOverviewSprint);

		tltmAddUserStorySprint = new ToolItem(tBOverviewSprint, SWT.NONE);
		tltmAddUserStorySprint.setText("Add");
		tltmAddUserStorySprint.setImage(Utils.getImage(Utils.IMG_ADD));

		tltmEditUserStorySprint = new ToolItem(tBOverviewSprint, SWT.NONE);
		tltmEditUserStorySprint.setText("Edit");
		tltmEditUserStorySprint.setImage(Utils.getImage(Utils.IMG_EDIT));

		tltmRemoveUserStorySprint = new ToolItem(tBOverviewSprint, SWT.NONE);
		tltmRemoveUserStorySprint.setText("Remove");
		tltmRemoveUserStorySprint.setImage(Utils.getImage(Utils.IMG_DEL));

		tabBacklogSprint = new TabItem(tabFolderOverviewSprint, SWT.NONE);
		tabBacklogSprint.setText("Backlog");
		tabBacklogSprint.setImage(Utils.getImage(Utils.IMG_DASHBOARD));

		compositeGrpBacklogSprint = new Composite(tabFolderOverviewSprint, SWT.NONE);
		tabBacklogSprint.setControl(compositeGrpBacklogSprint);

		SashForm sashForm_2 = new SashForm(compositeGrpBacklogSprint, SWT.NONE);
		sashForm_2.setBounds(0, 0, 818, 463);

		Composite composite_2 = new Composite(sashForm_2, SWT.NONE);

		tableViewerBacklogUserStories = new TableViewer(composite_2, SWT.BORDER | SWT.FULL_SELECTION);
		tableBacklogUserStories = tableViewerBacklogUserStories.getTable();
		tableBacklogUserStories.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		tableBacklogUserStories.setLinesVisible(true);
		tableBacklogUserStories.setHeaderVisible(true);
		tableBacklogUserStories.setLocation(10, 10);
		tableBacklogUserStories.setSize(387, 419);

		tableViewerColumn_3 = new TableViewerColumn(tableViewerBacklogUserStories, SWT.NONE);
		tblclmnStatut = tableViewerColumn_3.getColumn();
		tblclmnStatut.setWidth(100);
		tblclmnStatut.setText("Statut");

		tableViewerColumn_4 = new TableViewerColumn(tableViewerBacklogUserStories, SWT.NONE);
		tblclmnName = tableViewerColumn_4.getColumn();
		tblclmnName.setWidth(192);
		tblclmnName.setText("User Story");

		tableViewerColumn_5 = new TableViewerColumn(tableViewerBacklogUserStories, SWT.NONE);
		tblclmnPoints = tableViewerColumn_5.getColumn();
		tblclmnPoints.setWidth(91);
		tblclmnPoints.setText("Points");

		ToolBar toolBar = new ToolBar(composite_2, SWT.FLAT | SWT.RIGHT);
		toolBar.setBounds(10, 435, 387, 23);

		tltmAddBacklogUS = new ToolItem(toolBar, SWT.NONE);
		tltmAddBacklogUS.setText("Add");
		tltmAddBacklogUS.setImage(Utils.getImage(Utils.IMG_ADD));

		tltmEditBacklogUS = new ToolItem(toolBar, SWT.NONE);
		tltmEditBacklogUS.setText("Edit");
		tltmEditBacklogUS.setImage(Utils.getImage(Utils.IMG_EDIT));

		tltmRemoveBacklogUS = new ToolItem(toolBar, SWT.NONE);
		tltmRemoveBacklogUS.setText("Remove");
		tltmRemoveBacklogUS.setImage(Utils.getImage(Utils.IMG_DEL));

		Composite composite_3 = new Composite(sashForm_2, SWT.NONE);

		grpBacklogUserStories = new Group(composite_3, SWT.NONE);
		grpBacklogUserStories.setBounds(10, 10, 388, 443);
		grpBacklogUserStories.setBackground(Utils.COLOR_BAR_1);

		Label lblName_1 = new Label(grpBacklogUserStories, SWT.NONE);
		lblName_1.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblName_1.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblName_1.setBounds(36, 44, 55, 15);
		lblName_1.setText("Name :");
		lblName_1.setBackground(Utils.COLOR_BAR_1);

		lblDescription = new Label(grpBacklogUserStories, SWT.NONE);
		lblDescription.setText("Description :");
		lblDescription.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblDescription.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblDescription.setBackground(SWTResourceManager.getColor(29, 126, 168));
		lblDescription.setBounds(36, 81, 88, 24);

		lblPointsAwarded = new Label(grpBacklogUserStories, SWT.NONE);
		lblPointsAwarded.setText("Points awarded :");
		lblPointsAwarded.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblPointsAwarded.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblPointsAwarded.setBackground(SWTResourceManager.getColor(29, 126, 168));
		lblPointsAwarded.setBounds(36, 211, 115, 24);

		lblPriority = new Label(grpBacklogUserStories, SWT.NONE);
		lblPriority.setText("Priority :");
		lblPriority.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblPriority.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblPriority.setBackground(SWTResourceManager.getColor(29, 126, 168));
		lblPriority.setBounds(36, 260, 67, 24);

		Composite composite_4 = new Composite(grpBacklogUserStories, SWT.NONE);
		composite_4.setBackground(SWTResourceManager.getColor(24, 91, 138));
		composite_4.setBounds(27, 350, 351, 83);

		butValiderUS = new Button(composite_4, SWT.NONE);
		butValiderUS.setText("Valider");
		butValiderUS.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		butValiderUS.setBackground(SWTResourceManager.getColor(24, 91, 138));
		butValiderUS.setBounds(188, 24, 153, 37);

		txtNameUS = new Text(grpBacklogUserStories, SWT.BORDER);
		txtNameUS.setBounds(165, 43, 130, 21);

		txtPointsUS = new Text(grpBacklogUserStories, SWT.BORDER);
		txtPointsUS.setBounds(165, 210, 55, 21);

		txtDescrUS = new Text(grpBacklogUserStories, SWT.BORDER);
		txtDescrUS.setBounds(165, 81, 130, 65);

		cbPriorityUS = new Combo(grpBacklogUserStories, SWT.NONE);
		cbPriorityUS.setBounds(165, 259, 55, 23);

		Label lblStatus = new Label(grpBacklogUserStories, SWT.NONE);
		lblStatus.setText("Status :");
		lblStatus.setForeground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		lblStatus.setFont(SWTResourceManager.getFont("Arial", 11, SWT.NORMAL));
		lblStatus.setBackground(SWTResourceManager.getColor(29, 126, 168));
		lblStatus.setBounds(36, 306, 67, 23);

		cbViewerStatusUS = new ComboViewer(grpBacklogUserStories, SWT.NONE);
		cbStatusUS = cbViewerStatusUS.getCombo();
		cbStatusUS.setBounds(165, 305, 91, 23);
		sashForm_2.setWeights(new int[] { 1, 1 });

		// tabOverviewCalendar = new TabItem(tabFolderOverviewSprint, SWT.NONE);
		// tabOverviewCalendar.setText("Calendar");
		// tabOverviewCalendar.setImage(Utils.getImage(Utils.IMG_CALENDAR));

	}

	public ToolItem getTltmAddBacklogUS() {
		return tltmAddBacklogUS;
	}

	public ToolItem getTltmEditBacklogUS() {
		return tltmEditBacklogUS;
	}

	public ToolItem getTltmRemoveBacklogUS() {
		return tltmRemoveBacklogUS;
	}

	public ComboViewer getCbViewerStatusUS() {
		return cbViewerStatusUS;
	}

	public Combo getCbStatusUS() {
		return cbStatusUS;
	}

	public Group getGrpBacklogUserStories() {
		return grpBacklogUserStories;
	}

	public Button getButValiderUS() {
		return butValiderUS;
	}

	public Text getTxtNameUS() {
		return txtNameUS;
	}

	public Text getTxtPointsUS() {
		return txtPointsUS;
	}

	public Text getTxtDescrUS() {
		return txtDescrUS;
	}

	public Combo getCbPriorityUS() {
		return cbPriorityUS;
	}

	public TableViewer getTableViewerBacklogUserStories() {
		return tableViewerBacklogUserStories;
	}

	public Table getTableBacklogUserStories() {
		return tableBacklogUserStories;
	}

	public ToolItem getTltmAddUserStorySprint() {
		return tltmAddUserStorySprint;
	}

	public ToolItem getTltmRemoveUserStorySprint() {
		return tltmRemoveUserStorySprint;
	}

	public ToolItem getTltmEditUserStorySprint() {
		return tltmEditUserStorySprint;
	}

	public TableViewerColumn getTableViewerColumn() {
		return tableViewerColumn;
	}

	public TableViewerColumn getTableViewerColumn_1() {
		return tableViewerColumn_1;
	}

	public TableViewerColumn getTableViewerColumn_2() {
		return tableViewerColumn_2;
	}

	public Label getBackToHome() {
		return BackToHome;
	}

	public Label getLblProgressBar() {
		return lblProgressBar;
	}

	public ProgressBar getPbSprint() {
		return pbSprint;
	}

	public Label getLblNameData() {
		return lblNameData;
	}

	public Table getTableUserStories() {
		return tableUserStories;
	}

	public TableViewer getTableViewerUserStories() {
		return tableViewerUserStories;
	}

	public Shell getShell() {
		return shell;
	}

	public SashForm getSashForm() {
		return sashForm;
	}

	public Label getLblInfoUser() {
		return lblInfoUser;
	}

	public Label getLinkProfile() {
		return linkProfile;
	}

	public Label getLinkSignout() {
		return linkSignout;
	}

	public TabFolder getTabFolderOverviewSprint() {
		return tabFolderOverviewSprint;
	}

	public Composite getCompositeGrpOverviewSprint() {
		return compositeGrpOverviewSprint;
	}

	public Group getGrpOverviewSprint() {
		return grpOverviewSprint;
	}

	public TabItem getTabOverviewCalendar() {
		return tabOverviewCalendar;
	}

	public TabItem getTabOverviewSprint() {
		return tabOverviewSprint;
	}

	public SashForm getSashForm_1() {
		return sashForm_1;
	}

	public Composite getComposite() {
		return composite;
	}

	public Composite getComposite_1() {
		return composite_1;
	}

	public Label getLblPoints() {
		return lblPoints;
	}

	public Label getLblStart() {
		return lblStart;
	}

	public Label getLblEnd() {
		return lblEnd;
	}

	public Label getLblProduct() {
		return lblProduct;
	}

	public Label getLblPointsData() {
		return lblPointsData;
	}

	public Label getLblStartData() {
		return lblStartData;
	}

	public Label getLblEndData() {
		return lblEndData;
	}

	public Label getLblProductData() {
		return lblProductData;
	}
}
